package zhoufu.sz.sanxiao_check.models;

import android.os.Parcel;
import android.os.Parcelable;

public class StreetInfoModel extends BaseModel<StreetInfoModel> implements Parcelable
{

    String Place_No;// 档案编号
    String Name;// 场所名称
    String Type;// 性质
    String Address;// 地址
    String Business;// 经营范围
    String Layer;// 楼层
    String Acreage;// 面积
    String Has_Business;// 营业执照
    String Owner_Name;// 业主姓名
    String Phone;// 业主电话
    String Run_Name;// 经营者姓名
    String Run_Phone;// 经营者联系电话
    double Place_x;// 经度
    double place_y;// 纬度
    String AddTime;// 添加时间
    String SID;// 经营者id
    String RID;//场所id
    int    Reseau_Type;// 所属网格
    String Community;// 所属社区
    int    District_ID;// 片區
    String Storefront;// 门店头像
    String Building_No;// 房屋编码
    String StorePhoto;// 空铺显示的门店图片
    String IsLive;// 空铺显示是否住人
    String People_Num;// 空铺显示住多少个人
    String Grade;
    String IsLicense;//是否有证
    /**
     * Doorplate : 0
     * Turn_Over : False
     * Reseau_Name :
     * District_Name :
     * Culture : 无
     * IsClose : 0
     * CloseTime :
     * UserID : 667
     */

    private String Doorplate;
    private String Turn_Over;
    private String Reseau_Name   = "";
    private String District_Name = "";
    private String Culture;
    private String IsClose;
    private String CloseTime;
    private String UserID;

    public StreetInfoModel()
    {

    }


    protected StreetInfoModel(Parcel in)
    {
        Place_No = in.readString();
        Name = in.readString();
        Type = in.readString();
        Address = in.readString();
        Business = in.readString();
        Layer = in.readString();
        Acreage = in.readString();
        Has_Business = in.readString();
        Owner_Name = in.readString();
        Phone = in.readString();
        Run_Name = in.readString();
        Run_Phone = in.readString();
        Place_x = in.readDouble();
        place_y = in.readDouble();
        AddTime = in.readString();
        SID = in.readString();
        RID = in.readString();
        Reseau_Type = in.readInt();
        Community = in.readString();
        District_ID = in.readInt();
        Storefront = in.readString();
        Building_No = in.readString();
        StorePhoto = in.readString();
        IsLive = in.readString();
        People_Num = in.readString();
        Doorplate = in.readString();
        Turn_Over = in.readString();
        Reseau_Name = in.readString();
        District_Name = in.readString();
        Culture = in.readString();
        IsClose = in.readString();
        CloseTime = in.readString();
        UserID = in.readString();
        Grade = in.readString();
        IsLicense = in.readString();
    }

    public static final Creator<StreetInfoModel> CREATOR = new Creator<StreetInfoModel>()
    {
        @Override
        public StreetInfoModel createFromParcel(Parcel in)
        {
            return new StreetInfoModel(in);
        }

        @Override
        public StreetInfoModel[] newArray(int size)
        {
            return new StreetInfoModel[size];
        }
    };


    public String getPlace_No()
    {
        return Place_No;
    }

    public void setPlace_No(String place_No)
    {
        Place_No = place_No;
    }

    public String getName()
    {
        return Name;
    }

    public void setName(String name)
    {
        Name = name;
    }

    public String getType()
    {
        return Type;
    }

    public void setType(String type)
    {
        Type = type;
    }

    public String getAddress()
    {
        return Address;
    }

    public void setAddress(String address)
    {
        Address = address;
    }

    public String getBusiness()
    {
        return Business;
    }

    public void setBusiness(String business)
    {
        Business = business;
    }

    public String getLayer()
    {
        return Layer;
    }

    public void setLayer(String layer)
    {
        Layer = layer;
    }

    public String getAcreage()
    {
        return Acreage;
    }

    public void setAcreage(String acreage)
    {
        Acreage = acreage;
    }

    public String getHas_Business()
    {
        return Has_Business;
    }

    public void setHas_Business(String has_Business)
    {
        Has_Business = has_Business;
    }

    public String getOwner_Name()
    {
        return Owner_Name;
    }

    public void setOwner_Name(String owner_Name)
    {
        Owner_Name = owner_Name;
    }

    public String getPhone()
    {
        return Phone;
    }

    public void setPhone(String phone)
    {
        Phone = phone;
    }

    public String getRun_Name()
    {
        return Run_Name;
    }

    public void setRun_Name(String run_Name)
    {
        Run_Name = run_Name;
    }

    public String getRun_Phone()
    {
        return Run_Phone;
    }

    public void setRun_Phone(String run_Phone)
    {
        Run_Phone = run_Phone;
    }

    public double getPlace_x()
    {
        return Place_x;
    }

    public void setPlace_x(double place_x)
    {
        Place_x = place_x;
    }

    public double getPlace_y()
    {
        return place_y;
    }

    public void setPlace_y(double place_y)
    {
        this.place_y = place_y;
    }

    public String getAddTime()
    {
        return AddTime;
    }

    public void setAddTime(String addTime)
    {
        AddTime = addTime;
    }

    public String getSID()
    {
        return SID;
    }

    public void setSID(String SID)
    {
        this.SID = SID;
    }

    public String getRID()
    {
        return RID;
    }

    public void setRID(String RID)
    {
        this.RID = RID;
    }

    public int getReseau_Type()
    {
        return Reseau_Type;
    }

    public void setReseau_Type(int reseau_Type)
    {
        Reseau_Type = reseau_Type;
    }

    public String getCommunity()
    {
        return Community;
    }

    public void setCommunity(String community)
    {
        Community = community;
    }

    public int getDistrict_ID()
    {
        return District_ID;
    }

    public void setDistrict_ID(int district_ID)
    {
        District_ID = district_ID;
    }

    public String getStorefront()
    {
        return Storefront;
    }

    public void setStorefront(String storefront)
    {
        Storefront = storefront;
    }

    public String getBuilding_No()
    {
        return Building_No;
    }

    public void setBuilding_No(String building_No)
    {
        Building_No = building_No;
    }

    public String getStorePhoto()
    {
        return StorePhoto;
    }

    public void setStorePhoto(String storePhoto)
    {
        StorePhoto = storePhoto;
    }

    public String getIsLive()
    {
        return IsLive;
    }

    public void setIsLive(String isLive)
    {
        IsLive = isLive;
    }

    public String getPeople_Num()
    {
        return People_Num;
    }

    public void setPeople_Num(String people_Num)
    {
        People_Num = people_Num;
    }

    public String getDoorplate()
    {
        return Doorplate;
    }

    public void setDoorplate(String doorplate)
    {
        Doorplate = doorplate;
    }

    public String getTurn_Over()
    {
        return Turn_Over;
    }

    public void setTurn_Over(String turn_Over)
    {
        Turn_Over = turn_Over;
    }

    public String getReseau_Name()
    {
        return Reseau_Name;
    }

    public void setReseau_Name(String reseau_Name)
    {
        Reseau_Name = reseau_Name;
    }

    public String getDistrict_Name()
    {
        return District_Name;
    }

    public void setDistrict_Name(String district_Name)
    {
        District_Name = district_Name;
    }

    public String getCulture()
    {
        return Culture;
    }

    public void setCulture(String culture)
    {
        Culture = culture;
    }

    public String getIsClose()
    {
        return IsClose;
    }

    public void setIsClose(String isClose)
    {
        IsClose = isClose;
    }

    public String getCloseTime()
    {
        return CloseTime;
    }

    public void setCloseTime(String closeTime)
    {
        CloseTime = closeTime;
    }

    public String getUserID()
    {
        return UserID;
    }

    public void setUserID(String userID)
    {
        UserID = userID;
    }

    public String getGrade()
    {
        return Grade;
    }

    public void setGrade(String grade)
    {
        Grade = grade;
    }

    public String getIsLicense()
    {
        return IsLicense;
    }

    public void setIsLicense(String isLicense)
    {
        IsLicense = isLicense;
    }

    @Override public int describeContents()
    {
        return 0;
    }

    @Override public void writeToParcel(Parcel dest, int flags)
    {
        dest.writeString(Place_No);
        dest.writeString(Name);
        dest.writeString(Type);
        dest.writeString(Address);
        dest.writeString(Business);
        dest.writeString(Layer);
        dest.writeString(Acreage);
        dest.writeString(Has_Business);
        dest.writeString(Owner_Name);
        dest.writeString(Phone);
        dest.writeString(Run_Name);
        dest.writeString(Run_Phone);
        dest.writeDouble(Place_x);
        dest.writeDouble(place_y);
        dest.writeString(AddTime);
        dest.writeString(SID);
        dest.writeString(RID);
        dest.writeInt(Reseau_Type);
        dest.writeString(Community);
        dest.writeInt(District_ID);
        dest.writeString(Storefront);
        dest.writeString(Building_No);
        dest.writeString(StorePhoto);
        dest.writeString(IsLive);
        dest.writeString(People_Num);
        dest.writeString(Doorplate);
        dest.writeString(Turn_Over);
        dest.writeString(Reseau_Name);
        dest.writeString(District_Name);
        dest.writeString(Culture);
        dest.writeString(IsClose);
        dest.writeString(CloseTime);
        dest.writeString(UserID);
        dest.writeString(Grade);
        dest.writeString(IsLicense);
    }
}
